package com.zxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: Zxy
 * @description:
 * @date: 2021-08-21 14:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account implements Serializable {
    private static final long serialVersionUID = -826474722074530700L;

    private Long id;
    private Long userId;
    /**
     * 总额度
     */
    private BigDecimal total;
    /**
     * 已使用额度
     */
    private BigDecimal used;
    /**
     * 剩余额度
     */
    private BigDecimal residue;
}
